MUISmartPanelSetIsDlgMsgVarΒΆ

MUISmartPanelSetIsDlgMsgVar, hWin:MUIWND, lpVar:LPMUIVALUE

Specifies a variable that will used during a message event loop for use with IsDialogMessage. lpVar points is an address of a variable that will hold the handle to the current dialog panel.

Parameters

  • [in] hWin - handle to the ModernUI_SmartPanel control
  • [out] lpVar - pointer to variable to store the current panel handle (HWND)

Return

Returns TRUE if successful, or FALSE otherwise

Example

.data
dwCurrentPanelHandle DD 0 ; global variable to store current panel handle
Invoke MUISmartPanelSetIsDlgMsgVar, hSP1, Addr dwCurrentPanelHandle

See Also

MUISmartPanelRegisterPanel